package com.yugao.fintech.antelope.auth;

import com.yugao.fintech.antelope.auth.service.CaptchaService;
import com.yugao.fintech.antelope.base.config.core.ConfigFactory;
import com.yugao.fintech.antelope.base.model.enums.ConfigDefineEnum;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
public class AuthRunner implements ApplicationRunner {
    @Autowired
    private CaptchaService captchaService;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        ConfigFactory.addListenConfigs(ConfigDefineEnum.WX_MP);
    }
}
